<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
      <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta charset='utf-8'>
        <meta name="author" content="order by dede58.com"/>
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<title>账户余额</title>
		<meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="Cache-Control" content="no-siteapp">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<meta name="keywords" content="">
		<meta name="description" content="">
		<link rel="stylesheet" type="text/css" href="css/base.css" />
		<link rel="stylesheet" type="text/css" href="css/common.css" />
		<script src="js/jquery-1.8.3.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="js/jquery.SuperSlide.2.1.js"></script>
	</head>

	<body>
		<jsp:include page="title.jsp" flush="true" />
		<jsp:include page="navbar.jsp" flush="true" />

		<!--Main-wrap-->
		<div class="main-wrap graybg">
			<div class="wrapper pt40 pb40 clearfix">
				<div class="fl slide-nav white-box">
				<ul>
					<li>
							<a href="${pageContext.request.contextPath}/userSelectById" class="db fs16">个人信息</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/Auction/selectByUserId" class="db fs16">我的竞拍</a>
						</li>
						<li >
							<a href="${pageContext.request.contextPath}/Order/selectOrderByUser" class="db fs16">我的订单</a>
						</li>
						
						<li >
							<a href="${pageContext.request.contextPath}/adressList" class="db fs16">收货地址</a>
						</li>
						
						
						<li class="on">
							<a href="${pageContext.request.contextPath}/accountList" class="db fs16">账户余额</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/recharge" class="db fs16">在线充值</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/password" class="db fs16">修改密码</a>
						</li>						
					</ul>
				</div>
				<div class="fr slide-show white-box">
					<div class="dark-tit">
						<h3 class="fs26">账户余额</h3></div>
					<div class="ye-show">
						<p class="fl">可用余额：<span class="fs40 orange">${Account.accountBalance}</span>元</p>
						<p class="fl">已消费：<span class="fs40 green">0.00</span>元</p>
						<p class="fl last">
							<a href="recharge" class="cz_but fs16 orange radius3">我要充值</a>
							<a href="withdraw" class="cz_but fs16 orange radius3">我要提现</a>
						</p>
					</div>
					<div class="ye-detail mt40">
						<div class="tit mb20"><span class="fs16 darkgray white-box">账户交易明细</span></div>
						<table class="ye-table">
							<tr>
								<th width="32%">交易时间</th>
								<th width="24%">交易类型</th>
								<th width="24%">交易金额</th>
								<th width="20%">账户余额</th>
							</tr>
							
		<c:forEach items="${accountList}" var="c" varStatus="st">
        <tr>         
            <td>${c.accountDate}</td>
            <td>${c.accountType}</td>            
            <td>￥${c.accountTrade}</td>
            <td>${c.accountBalance}</td>  			                   
        </tr>
    </c:forEach>
						</table>
					</div>
				</div>

			</div>
		</div>
		<!--/end-->

		<jsp:include page="foot.jsp" flush="true" />
	</body>

</html>